#include"head.h"
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void od(char strs[1000],int len)
{

		int i=1;
		int count=20;
        int j=0;
		int k=0;
		printf("%07d",0);

		for(i=0;i<=len;i++){

				if(i%16!=15 && strs[i]!='\0'){

						if(strs[i]!='\n')
						{

								printf("%4c",strs[i]);
								continue;
						}
						else{

								printf("  \\n");
								continue;
						}
				}
				else{
						printf("%4c",strs[i]);
						printf("\n        ");
						for(j=k;j<=i && j<len-1;j++){

								printf("  %02x",strs[j]);
						}
						printf("\n%07d",count);
						count+=5;
						
						k=i+1;
				}
		}
		printf("\n");
}

